package cn.stylefeng.guns.modular.rest.bs;

import cn.stylefeng.guns.modular.bs.model.params.BsWarehouseProParam;
import cn.stylefeng.guns.modular.bs.model.result.BsWarehouseProResult;
import cn.stylefeng.guns.modular.bs.service.BsWarehouseProService;
import cn.stylefeng.guns.modular.hx.storage.model.params.HxStorageOutParam;
import cn.stylefeng.guns.modular.rest.agv.vo.StorageOutCntOby;
import cn.stylefeng.guns.sys.modular.system.entity.User;
import cn.stylefeng.roses.core.base.controller.BaseController;
import cn.stylefeng.roses.core.reqres.response.ResponseData;
import cn.stylefeng.roses.core.util.ToolUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
@RequestMapping("/rest/bsWarehousePro")
public class RestBsWarehouseProController extends BaseController {

    @Autowired
    private BsWarehouseProService bsWarehouseProService;

    /**
     * 新增接口
     *
     * @author zhangzh
     * @Date 2024-05-14
     */
    @RequestMapping("/getWarehouseProList")
    @ResponseBody
    public ResponseData getWarehouseProList() {
        BsWarehouseProParam param = new BsWarehouseProParam();
        return ResponseData.success(bsWarehouseProService.findListBySpec(param));
    }

}
